package ed.hbut.supermarket1.service;

import ed.hbut.supermarket1.dto.UpdatePasswordDto;
import ed.hbut.supermarket1.entity.Employee;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface EmpService {


    List<Employee> getAllEmp();

    void addEmp(Employee employee);

    void updateEmp(Employee employee);

    void deleteEmp(int id);

    Employee getById(int id);

    String login(String username);

    Employee getByUsername(String username);

    void updatePassword(UpdatePasswordDto updatePasswordDto);
}
